package com.one.shopping.entity;

/**
 * 订单详情实体类
 * @author 柯尊诚
 * @version 1.0
 * @date 创建时间：2016/1/9 10:09
 */
public class OrdersDetail {

    private int ordersId;   //订单编号
    private String goodsId;    //商品编号
    private int number;     //商品数量
    private double total;   //商品总价格

    public OrdersDetail() {
    }

    public int getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(int ordersId) {
        this.ordersId = ordersId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "OrdersDetail{" +
                "ordersId=" + ordersId +
                ", goodsId=" + goodsId +
                ", number=" + number +
                ", total=" + total +
                '}';
    }
}
